package com.engine4cloud.tdf.supervision.dto.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 电子围栏
 *
 * @author wenjie
 * @date 2024-04-22 16:04:05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "电子围栏(行政区划/自定义)-响应对象")
public class AreaFenceResultDTO extends CreateTimeResultDTO {
    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 围栏编号
     */
    @Schema(description = "围栏编号")
    private String code;

    /**
     * 围栏名称
     */
    @Schema(description = "围栏名称")
    private String name;

    /**
     * 地区父编码
     */
    @Schema(description = "地区父编码")
    private String pcode;

    /**
     * 坐标集
     */
    @Schema(description = "坐标集")
    private String coordinate;

    /**
     * 注释
     */
    @Schema(description = "注释")
    private String remark;

    @Schema(description = "是否叶子节点(仅对树生效，1-是，0-否)", example = "0")
    private Boolean isLeaf;
}